package model.dropdown;

/**
 * DCommon entity. @author MyEclipse Persistence Tools
 */

public class DCommon implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer code;
	private String name;
	private Integer type;
	private Integer pcode;

	// Constructors

	/** default constructor */
	public DCommon() {
	}


	public DCommon(Integer id, String name, Integer type, Integer pcode) {
		this.id = id;
		this.name = name;
		this.type = type;
		this.pcode = pcode;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "DCommon [id=" + id + ", code=" + code + ", name=" + name
				+ ", type=" + type + ", pcode=" + pcode + "]";
	}

	public Integer getCode() {
		return this.code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getPcode() {
		return this.pcode;
	}

	public void setPcode(Integer pcode) {
		this.pcode = pcode;
	}
	
	

}